<!-- $Id: tasting_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<div class="main-div">
<form method="post" action="vip.php" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
   <tr>
    <td class="label">姓名</td>
    <td><input type="text" name="username" maxlength="60" size="50" value="{$vip.username|escape}" />{$lang.require_field}
    </td>
  </tr>
  <tr>
    <td class="label">电话</td>
    <td><input type="text" name="phone" maxlength="50" size="50" value="{$vip.phone|escape}" />
    </td>
  </tr>
  <tr>
    <td class="label">留言内容</td>
    <td><textarea  name="content" cols="80" rows="10">{$vip.content|escape}</textarea></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
      <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="id" value="{$vip.id}" />
    </td>
  </tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['tasting_name'].focus();
/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required("title",  no_tastingname);
    return validator.passed();
}
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}